package com.ysstech.reportworld.mapper;

import com.ysstech.reportworld.entity.DataModular;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * <p>
 * 基础数据对应模块信息 Mapper 接口
 * </p>
 *
 * @author lishuangliang
 * @since 2022-12-02
 */
@Component
public interface DataModularMapper extends BaseMapper<DataModular> {

    /**
     * 查询基础数据对应的模块信息
     *
     * @param dataModular
     * @return
     */
    List<DataModular> selectPrimaryByDataId(DataModular dataModular);

    /**
     *
     * @param dataModular
     * @return
     */
    List<DataModular> getTableInfo(DataModular dataModular);
}
